Auto merge of #1148 - FlaPer87:change-home, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 11 Jan 2015 05:18:59 +0000 (05:18 +0000)
committerbors <bors@rust-lang.org>
Sun, 11 Jan 2015 05:18:59 +0000 (05:18 +0000)
Users changing cargo's home directory expect it to be used as top path
instead of there being a `.cargo` hidden dir in it. There are some cases
following this pattern one of them is python's virtualenvwrapper, which
uses `WORK_HOME` as a home dir for everything.

This patch removes the extra `.cargo` and assumes that CARGO_HOME is the
real path a user wants to use as a homedir for cargo.

1  2 
src/cargo/util/config.rs
tests/test_cargo.rs

Simple merge
Simple merge